package com.lanswon.qzsmk.model;

import java.io.Serializable;
import java.util.Date;

import com.lanswon.qzsmk.vo.ServiceObject;
/**
 * 照片表
 * @author sun
 *
 */
public class Photo extends ServiceObject implements Serializable {
    /**
	 * 
	 */
	private static final long serialVersionUID = -9051532224411428979L;

	/** 照片信息ID */
    private String photoId;

    /** 客户编号 */
    private String customerNo;

    /** 采集单编号 */
    private String billNo;

    /** 证件类型 */
    private String paperType;

    /** 证件号码 */
    private String paperNo;

    /** 照片来源 1.公安 2.拍照 3.二代证 4.其他 */
    private String photoSource;

    /** 照片类型  1.JPG  2.GIF  3.PNG */
    private String photoType;

    /** 备注  */
    private String remark;

    /** 创建柜员号 */
    private String crtOperator;

    /** 创建日期 */
    private Date crtDate;

    /** 最后修改柜员号 */
    private String lastOperator;

    /** 最后修改日期 */
    private Date lastDate;

    /** 照片 */
    private String photo;


    public String getPhotoId() {
        return photoId;
    }

    public void setPhotoId(String photoId) {
        this.photoId = photoId == null ? null : photoId.trim();
    }

    public String getCustomerNo() {
        return customerNo;
    }

    public void setCustomerNo(String customerNo) {
        this.customerNo = customerNo == null ? null : customerNo.trim();
    }

    public String getBillNo() {
        return billNo;
    }

    public void setBillNo(String billNo) {
        this.billNo = billNo == null ? null : billNo.trim();
    }

    public String getPaperType() {
        return paperType;
    }

    public void setPaperType(String paperType) {
        this.paperType = paperType == null ? null : paperType.trim();
    }

    public String getPaperNo() {
        return paperNo;
    }

    public void setPaperNo(String paperNo) {
        this.paperNo = paperNo == null ? null : paperNo.trim();
    }

    public String getPhotoSource() {
        return photoSource;
    }

    public void setPhotoSource(String photoSource) {
        this.photoSource = photoSource == null ? null : photoSource.trim();
    }

    public String getPhotoType() {
        return photoType;
    }

    public void setPhotoType(String photoType) {
        this.photoType = photoType == null ? null : photoType.trim();
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark == null ? null : remark.trim();
    }

    public String getCrtOperator() {
        return crtOperator;
    }

    public void setCrtOperator(String crtOperator) {
        this.crtOperator = crtOperator == null ? null : crtOperator.trim();
    }

    public Date getCrtDate() {
        return crtDate;
    }

    public void setCrtDate(Date crtDate) {
        this.crtDate = crtDate;
    }

    public String getLastOperator() {
        return lastOperator;
    }

    public void setLastOperator(String lastOperator) {
        this.lastOperator = lastOperator == null ? null : lastOperator.trim();
    }

    public Date getLastDate() {
        return lastDate;
    }

    public void setLastDate(Date lastDate) {
        this.lastDate = lastDate;
    }

    public String getPhoto() {
        return photo;
    }

    public void setPhoto(String photo) {
        this.photo = photo;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", photoId=").append(photoId);
        sb.append(", customerNo=").append(customerNo);
        sb.append(", billNo=").append(billNo);
        sb.append(", paperType=").append(paperType);
        sb.append(", paperNo=").append(paperNo);
        sb.append(", photoSource=").append(photoSource);
        sb.append(", photoType=").append(photoType);
        sb.append(", remark=").append(remark);
        sb.append(", crtOperator=").append(crtOperator);
        sb.append(", crtDate=").append(crtDate);
        sb.append(", lastOperator=").append(lastOperator);
        sb.append(", lastDate=").append(lastDate);
        sb.append(", photo=").append(photo);
        sb.append("]");
        return sb.toString();
    }
}